﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Bluyel.Core
{
    /// <summary>
    /// Abstract base class of all type phys qty.
    /// Implement the common code.
    /// </summary>
    public abstract class TypePhyBase : ITypePhy
    {
        private UniqueId _id;

        private string _name;

        //=====================================================================
        #region Constructor.

        //---------------------------------------------------------------------
        /// <summary>
        /// Constructor.
        /// </summary>
        /// <param name="id"></param>
        /// <param name="name"></param>
        public TypePhyBase(UniqueId id, string name)
        {
            _id = id;
            _name = name;
        }

        #endregion

        //=====================================================================
        #region Properties.

        //---------------------------------------------------------------------
        public UniqueId Id
        { get { return _id; } }

        //---------------------------------------------------------------------
        public string Name
        { get { return _name; } }
        #endregion
    }
}
